{{for entry in entries:}}
<div class="post">
  <h1><a href="/view/{{=entry.index}}" title="Permanent Link to {{=entry.title}}">{{=entry.title}}</a></h1>
  <p class="date">{{=entry.datestr()}}</p>
  <div class="entry">
    {{Xml(entry.content)}}
  </div><!-- end entry -->
  <p class="postmeta">Tags: {{for tag in entry.tags:}}
    <a href="/tag/{{=tag}}">{{=tag}}</a>{{pass}} <!-- end loop -->
    <strong>|</strong> 
    {{cmtcount = entry.comments.count()}}
    <a href="/view/{{=entry.index}}#comments">
      {{if cmtcount == 0:}}No Comment
      {{elif cmtcount == 1:}}1 Comment
      {{else:}}{{=cmtcount}} Comments 
      {{pass}} <!-- end if -->
  </a>
  </p>
</div><!-- end post -->
{{pass}} <!-- end loop -->
